import 'normalize.css'

import ElementPlus from 'element-plus'
import locale from 'element-plus/lib/locale/lang/zh-cn'

import 'dayjs/locale/zh-cn'
import 'element-plus/dist/index.css'
import '@/assets/style/element.scss'

import 'vant/lib/index.css'

import '@/assets/style/jaguar.scss'

import JFaceCamera from './JFaceCamera'
import JInputWrapper from './JInputWrapper'

// 加载全局组件
export function loadComponents(app) {
  app.use(ElementPlus, { locale })

  app.component('j-input-wrapper', JInputWrapper)
  app.component('j-face-camera', JFaceCamera)
}
